package com.donfu.system.domain.house;

import java.util.Date;

import com.donfu.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.donfu.common.annotation.Excel;

/**
 * 收藏对象 house_collection
 * 
 * @author donfu
 * @date 2021-12-01
 */
public class HouseCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 类型 1产品 2兰影展 3新居日志 */
    @Excel(name = "类型 1产品 2兰影展 3新居日志")
    private Integer type;

    /** type等于1 产品  type等于2 兰影展  type等于3新居日志 */
    @Excel(name = "type等于1 产品  type等于2 兰影展  type等于3新居日志")
    private Long valueId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String standby;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wxNickName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setValueId(Long valueId) 
    {
        this.valueId = valueId;
    }

    public Long getValueId() 
    {
        return valueId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setStandby(String standby) 
    {
        this.standby = standby;
    }

    public String getStandby() 
    {
        return standby;
    }

    public String getWxNickName() {
        return wxNickName;
    }

    @Override
    public String toString() {
        return "HouseCollection{" +
                "id=" + id +
                ", type=" + type +
                ", valueId=" + valueId +
                ", userId=" + userId +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", standby='" + standby + '\'' +
                ", wxNickName='" + wxNickName + '\'' +
                '}';
    }
}
